package com.cloud.template.luna.listener;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

import javax.jms.Message;

/**
 * 监听
 * Created by Viole on 2017/12/29.
 */
@Component
public class ListenerTemplate {

    @JmsListener(destination = "TransactionImage.queue")
    public void myListener(Message message){

    }
}
